package com.hongyuan.sellfitness.ui.find.view_mode;

import androidx.annotation.NonNull;
import androidx.databinding.ObservableField;

import com.hongyuan.sellfitness.base.ItemViewModel;
import com.hongyuan.sellfitness.ui.find.beans.FindChildTopBean;

public class FindChildTopItemViewModel extends ItemViewModel<FindChildViewModel> {

    public int mPosition;
    public int maxPosition;

    public ObservableField<FindChildTopBean.ListBean> entity = new ObservableField<>();

    public FindChildTopItemViewModel(@NonNull FindChildViewModel viewModel,FindChildTopBean.ListBean bean,int mPosition,int maxPosition) {
        super(viewModel);
        entity.set(bean);
        this.maxPosition = maxPosition;
        this.mPosition = mPosition;
    }


}
